//
//  viewOfMid.m
//  mintHome
//
//  Created by 朱彦名 on 16/6/17.
//  Copyright © 2016年 朱彦名. All rights reserved.
//

#import "viewOfMid.h"

@interface viewOfMid()

@property (nonatomic, retain) UILabel *labelOfLeft;



@end

@implementation viewOfMid

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatMidView];
    }
    return self;

}

- (void)creatMidView{
    
    self.labelOfLeft = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 80, 30)];
    self.labelOfLeft.text = @"地点";
    [self addSubview:self.labelOfLeft];
    
    
}

@end
